﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<% NxPartyAffairsOpen.Models.PicNewModel2 pnm = (NxPartyAffairsOpen.Models.PicNewModel2)ViewData["PicNews"]; %>
<div class="ALeft" style="width: 364px; height: 300px;">
    <a target="_self" href="javascript:goUrl()"><span class="f14b">

        <script type="text/javascript">

            var focus_width<%=pnm.Pre %> = 364;
            var focus_height<%=pnm.Pre %> = 273;
            var text_height<%=pnm.Pre %> = 26;
            var swf_height<%=pnm.Pre %> = focus_height<%=pnm.Pre %> + text_height<%=pnm.Pre %>;

                       <%=pnm.Scripts %>
                      
                         
                         document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ');
	document.write('codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
	document.write('width="'+ focus_width<%=pnm.Pre %> +'" ');
	document.write('height="'+ swf_height<%=pnm.Pre %> +'">');
	document.write('<param name="allowScriptAccess" value="sameDomain">');
	document.write('<param name="movie" value="<%=Url.Content("~/Images/focus.swf") %>">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="bgcolor" value="#ffffff">');
	document.write('<param name="menu" value="false">');
	document.write('<param name=wmode value="opaque">');
	document.write('<param name="FlashVars" ');
	document.write('value="pics='+pics<%=pnm.Pre %>);
	document.write(		'&links='+links<%=pnm.Pre %>);
	document.write(		'&texts='+texts<%=pnm.Pre %>);
	document.write(		'&borderwidth='+focus_width<%=pnm.Pre %>);
	document.write(		'&borderheight='+focus_height<%=pnm.Pre %>);
	document.write(		'&textheight='+text_height<%=pnm.Pre %>+'">');
	document.write('<embed src="<%=Url.Content("~/Images/focus.swf") %>" ');
	document.write('wmode="opaque" ');
	document.write('FlashVars="pics='+pics<%=pnm.Pre %>);
	document.write(		'&links='+links<%=pnm.Pre %>);
	document.write(		'&texts='+texts<%=pnm.Pre %>);
	document.write(		'&borderwidth='+focus_width<%=pnm.Pre %>);
	document.write(		'&borderheight='+focus_height<%=pnm.Pre %>);
	document.write(		'&textheight='+text_height<%=pnm.Pre %>+'" ');
	document.write('menu="false" ');
	document.write('bgcolor="#ffffff" ');
	document.write('quality="high" ');
	document.write('width="'+ focus_width<%=pnm.Pre %> +'" ');
	document.write('height="'+ focus_height<%=pnm.Pre %> +'" ');
	document.write('allowScriptAccess="sameDomain" ');
	document.write('type="application/x-shockwave-flash" ');
	document.write('pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
                      
        </script>

    </span></a><span id="focustext" class="f14b"></span>
</div>
<div class="ACenter">
    <div class="ALeft_Sshd">
        <h2 style="word-break: break-all;height:35px;">
            &nbsp;<%=Html.ActionLink(pnm.ShortTitle + " ", "Details", "Portal", new { @id = pnm.InfoGuid }, new {@class="A3", @title = pnm.Title, @target = "_self" })%>
        </h2>
        <h2 style="margin-top: 0px; word-break: break-all;text-align:left">
            <%=Html.ActionLink(pnm.ShortContent + "...", "Details", "Portal", new { @id = pnm.InfoGuid }, new { @class = "A4", @title = pnm.Title, @target = "_self" })%>
            
        </h2>
        <div style="float: right;">
            <%=Html.ActionLink(".......[更多]", "InfoList", "Portal", new { @categoryid = pnm.CategoryID }, new { @class="A2", @target = "_self", @style = "float: right; cursor: pointer;" })%>
        </div>
        <div class="ALeft_Sshd">
        </div>
    </div>
</div>
